﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sustainalytics.ClientDW.Synchronization.SyncReferenceUniv.ReferenceUniverseLogic;
using Xunit;
using Xunit.Abstractions;

namespace Sustainalytics.ClientDW.Synchronization.SyncReferenceUniv.Tests
{
    public class ReferenceUniverseCddbQueryTests: ReferenceUniverseBaseTests
    {
        
        private readonly ReferenceUniverseCddbQuery referenceUniverseCddbQuery;
        public ReferenceUniverseCddbQueryTests(ITestOutputHelper output): base(output)
        {
            referenceUniverseCddbQuery = SimpleInjectorContainer.GetInstance<ReferenceUniverseCddbQuery>();
        }
        [Fact]
        public void GetAsync_Should_Return_ReferenceUniverse()
        {
            var referenceUniverses = referenceUniverseCddbQuery.Get(false);
            Assert.NotEmpty(referenceUniverses);
        }
    }
}
